<div id="page-wrapper">
    <div class="row">
        <div class="col-lg-6">
            <h1 class="page-header">用户权限管理</h1>
        </div>
        <!-- /.col-lg-12 -->
    </div>	

    <div class="row">
        <div class="col-lg-12">
            <div class="panel panel-default">
            	<a href="{:U('Admin/Auth/edit')}" class="btn btn-success">新建</a>
                <div class="panel-heading">
                     权限列表
                </div>
                <!-- /.panel-heading -->

	                <div class="panel-body">
                        <div class="col-lg-12">
	                        <div class="table-responsive">
                                <table class="table">
                                    <thead>
                                        <tr>
                                            <th>编号</th>
                                            <th>模块</th>
                                            <th>名称</th>
                                            <th>类型</th>
                                            <th>状态</th>
                                            <th>条件</th>
                                            <th class="textAlignCenter">操作</th>
                                        </tr>
                                    </thead>
                                    <tbody>
	                                    <volist name="list" id="item">
	                                        <tr>
	                                            <td>{$item.id}</td>
	                                            <td>{$item.name}</td>
	                               
	                                            <td>{$item.title}</td>
                                                <td>{$item.type}</td>
                                                <td>{$item.status}</td>
	                                            <td>{$item.condition}</td>
	                                            <td><a href="{:U('Admin/Auth/edit', array('id'=>$item['id']))}" class="btn btn-success">编辑</a>
	                                                <a href="{:U('Admin/Auth/delete', array('id'=>$item['id']))}" class="btn btn-danger">删除</a>

	                                            </td>
	                                        </tr>
	                                      
	                                    </volist>
                                       
                                    </tbody>
                                </table>
                           

                            </div>
                            <!-- /.table-responsive -->
                        
	                        <div class="pages">
	                        	{$page}
	                        </div>
                    	</div>
                        <!-- / .col-lg-12 -->
	                </div>
	                <!-- / .panel-body -->
                </div>
                <!-- /.panel-body -->
            </div>
            <!-- /.panel -->
        </div>
        <!-- /.col-lg-12 -->
    </div>	

</div>